package com.salon.client.beans;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.IsSerializable;

public class ParentPagingLoadResult<T> implements PagingLoadResult<T>, IsSerializable {
	int offset;
	int totalLength;
	List<T> data;

	public int getOffset() {
		return offset;
	}

	public int getTotalLength() {
		return totalLength;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public void setTotalLength(int totalLength) {
		this.totalLength = totalLength;
	}

	public List<T> getData() {
		return data;
	}
	
	public void setData(List<T> data) {
		this.data = data;
	}
}
